home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Programming / QuakeTools / testfarm / Makefile.in next >
Encoding:
Makefile  |  1998-06-12  |  2.8 KB  |  77 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # MakeFile for QuakeTools
  3.  
  4. test: @top_srcdir@/bin/ppmdiff @top_srcdir@/bin/qtools testquality
  5.  
  6. dithers = 016 032
  7. # 064 128 256
  8. smooths = 001 002
  9. # 004 008 016
  10.  
  11. testquality: test.ppm
  12.     @top_srcdir@/bin/qtools test.ppm -o test-nothing.ppm;
  13.     @top_srcdir@/bin/ppmdiff test.ppm test-nothing.ppm -o test-nothing.diff >psnr;
  14.     /c/filenote test-nothing.diff "`/c/type psnr`";
  15.     for i in $(dithers); do \
  16.       @top_srcdir@/bin/qtools -dither $$i test.ppm -o test-dither$$i.ppm; \
  17.       @top_srcdir@/bin/ppmdiff test.ppm test-dither$$i.ppm -o test-dither$$i.diff >psnr; \
  18.       /c/filenote test-dither$$i.diff "`/c/type psnr`"; \
  19.     done;
  20.     for i in $(smooths); do \
  21.       @top_srcdir@/bin/qtools -smooth $$i test.ppm -o test-smooth$$i.ppm; \
  22.       @top_srcdir@/bin/ppmdiff test.ppm test-smooth$$i.ppm -o test-smooth$$i.diff >psnr; \
  23.       /c/filenote test-smooth$$i.diff "`/c/type psnr`"; \
  24.     done;
  25.     for i in $(dithers); do \
  26.       for j in $(smooths); do \
  27.         @top_srcdir@/bin/qtools -dither $$i -smooth $$j test.ppm -o test-d$$i.s$$j.ppm; \
  28.         @top_srcdir@/bin/ppmdiff test.ppm test-d$$i.s$$j.ppm -o test-d$$i.s$$j.diff >psnr; \
  29.       /c/filenote test-d$$i.s$$j.diff "`/c/type psnr`"; \
  30.       done; \
  31.     done;
  32.     rm -f psnr;
  33.  
  34. testcoverage: @top_srcdir@/bin/qtoolsV @top_srcdir@/bin/qbspV @top_srcdir@/bin/lightV @top_srcdir@/bin/visV
  35. # test ppmTOpng if available
  36.     @top_srcdir@/bin/qtoolsV test.ppm -o test-coverage.png
  37. # test ppmTOjpg if available
  38. #    @top_srcdir@/bin/qtoolsV test.ppm -o test-coverage.jpg
  39. # test mapTObsp conversion
  40. #    @top_srcdir@/bin/qbspV test.map test.bsp >test.rep
  41. #    @top_srcdir@/bin/qtoolsV test.map -o test.bsp
  42. # test mapTOiob conversion
  43. #    @top_srcdir@/bin/qtoolsV test.map -o test.iob
  44. # test bspTOmap conversion
  45. #    @top_srcdir@/bin/qtoolsV x test.bsp
  46. # test bspTOiob conversion
  47. #    @top_srcdir@/bin/qtoolsV x test.bsp -o test.iob
  48. # test iobTObsp conversion
  49. #    @top_srcdir@/bin/qtoolsV test.iob -o test.bsp
  50. # test iobTOmap conversion
  51. #    @top_srcdir@/bin/qtoolsV test.iob -o test.map
  52. # test light
  53. #    @top_srcdir@/bin/lightV -extra test.bsp >>test.rep
  54. #    @top_srcdir@/bin/qtoolsV -extra a test.bsp >>test.rep
  55. # test vis
  56. #    @top_srcdir@/bin/visV -level 4 test.bsp >>test.rep
  57. #    @top_srcdir@/bin/qtoolsV -level 4 a test.bsp >>test.rep
  58. # test datTOsrc conversion
  59. #    mkdir test.dir
  60. #    @top_srcdir@/bin/unqcc -src test.dir test.dat
  61. #    @top_srcdir@/bin/qtoolsV x test.dat
  62. # test srcTOdat conversion
  63. #    @top_srcdir@/bin/qcc test.dir/progs.src
  64. #    @top_srcdir@/bin/qtoolsV a test.dir/progs.src
  65. # test ppmTOwad conversion
  66. #    @top_srcdir@/bin/qtoolsV test.ppm -o test.wad
  67. # test wadTO? conversion
  68. #    @top_srcdir@/bin/qtoolsV test.wad -o test.mip test.jpg test.png
  69.  
  70. cleanprofile:
  71.     rm -f gmon.out
  72. clean cleanall: cleanprofile
  73.     rm -fR *.png *.jpg *.wad *.dir *.iob test-*.* *.diff *.bsp *.h1 *.h2 *.prt *.pts
  74.  
  75. distclean: clean
  76.     rm -f Makefile
  77.